projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a12221
)
Fix namazu search result parsing in gnus-search
author
Eric Abrahamsen
<eric@ericabrahamsen.net>
Sun, 7 Feb 2021 21:46:50 +0000
(13:46 -0800)
committer
Eric Abrahamsen
<eric@ericabrahamsen.net>
Sun, 7 Feb 2021 21:46:50 +0000
(13:46 -0800)
* lisp/gnus/gnus-search.el (gnus-search-indexed-extract): This method
is documented to leave point at the end of the extracted search
result. The namazu implementation wasn't doing that.
lisp/gnus/gnus-search.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-search.el
b/lisp/gnus/gnus-search.el
index 0783d34733a01e717d1bb598008da16e5ba398c1..21602f825c13b8b3d7811e181fb87f203e2b76ab 100644
(file)
--- a/
lisp/gnus/gnus-search.el
+++ b/
lisp/gnus/gnus-search.el
@@
-1514,6
+1514,7
@@
Namazu provides a little more information, for instance a score."
(when (re-search-forward
"^\\([0-9,]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)"
nil t)
+ (forward-line 1)
(list (match-string 4)
(match-string 3))))